package A13;


/**
 * 课程类，对应实验A1-3
 */
public class Subject {
    private String subjectName; // 课程名称
    private String subjectCode; // 课程编号

    public Subject(String subjectName, String subjectCode) {
        this.subjectName = subjectName;
        this.subjectCode = subjectCode;
    }

    // getter/setter
    public String getSubjectName() {
        return subjectName;
    }

    public String getSubjectCode() {
        return subjectCode;
    }
}